package pl.wroc.pwr.mss.server.ui.filechoosers;

import javax.swing.JFileChooser;

/**
 * Dialog do wybierania katalogow.
 * 
 * @author mjagus
 */
public class JDirectoryFileChooser extends JFileChooser
{
    /**
     * Identyfikator klasy.
     */
    private static final long serialVersionUID = 2026993834259540261L;

    /**
     * Iniciuje komponent.
     */
    public JDirectoryFileChooser()
    {
        super();

        super.setDialogTitle("Choose playlist directory");
        super.setAcceptAllFileFilterUsed(false);
        super.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
    }
}
